package cn.tedu.zx.order.adapter;

import cn.tedu.zx.common.config.MallCommonConfiguration;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;

@EnableGlobalMethodSecurity(prePostEnabled = true)
@EnableDubbo
@SpringBootApplication
@EnableScheduling
@Import(MallCommonConfiguration.class)
public class ZxOrderAdapterApplication {

    public static void main(String[] args) {
        SpringApplication.run(ZxOrderAdapterApplication.class, args);
    }

}
